﻿using UnityEngine;

public class RewardedVideoCallBack : MonoBehaviour {

    private void OnEnable()
    {
        //Timer.Schedule(this, 0.1f, AddEvents);
    }

    private void AddEvents()
    {

        HandleRewardBasedVideoRewarded();
       
    }

    private const string ACTION_NAME = "rewarded_video";
    public void HandleRewardBasedVideoRewarded()
    {
        Timer.Schedule(this, 0, () =>
        {
            GameState.itemWatchingAd.HandleRewardBasedVideoRewarded();
        });
    }
   
    private void OnDisable()
    {

    }
}
